Skip to content

Conversation

@TheWebX
Copy link
Contributor

@TheWebX TheWebX commented Oct 8, 2025

Refactor provider configuration and HTTP client for robustness and security.

The doRequest method now uses context.Context, sets the Authorization header, handles all 2xx status codes as success, and returns a specific not_found error. Provider configuration for token and cloud_space has been improved with clearer error messages and environment variable handling. Sensitive fields are now masked in tflog to prevent accidental logging.


Open in Cursor Open in Web

Co-authored-by: avelladario92 <avelladario92@gmail.com>
@cursor
Copy link

cursor bot commented Oct 8, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 13 commits October 8, 2025 16:33
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
This commit introduces pre-commit hooks for Go and Terraform, along with new example resources for container registries. It also updates the provider source in the function example.

Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Co-authored-by: avelladario92 <avelladario92@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants